package com.xh.common;

public enum ResultEnum {
    SUCCESS(0,"成功"),
    ERROR(500,"失败");
    private final int code;
    private final String describe;

    ResultEnum(int code, String describe){
        this.code = code;
        this.describe = describe;
    }

    public int getCode() {
        return code;
    }

    public String getDescribe() {
        return describe;
    }
}
